package com.luobo.yfh.vo.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Pattern;
import java.math.BigDecimal;

@ApiModel(value = "保函申请VO")
public class GuaranteeOrder {

    @ApiModelProperty(value = "平台流水号",required = true,example="D524525518522115")
    private String orderNo;

    @ApiModelProperty(value ="投标企业名称" ,required = true,example="一方函互联网有限公司")
    private String enterpriseName;
    @ApiModelProperty(value ="投标企业组织机构代码",required = true,example="91340100MA2U8JAK0Y")
    @Pattern(regexp = "^([0-9A-HJ-NPQRTUWXY]{2}\\d{6}[0-9A-HJ-NPQRTUWXY]{10}|[1-9]\\d{14})$" ,message ="统一社会信用代码不匹配")
    private String enterpriseCode;

    @ApiModelProperty(value = "招标人名称",required = true,example="合肥城市规划管理局")
    private String tendereeName;

    @ApiModelProperty(value = "招标人统一社会信用代码",required = true,example="10000000MA2U8JAK0U")
    @Pattern(regexp = "^([0-9A-HJ-NPQRTUWXY]{2}\\d{6}[0-9A-HJ-NPQRTUWXY]{10}|[1-9]\\d{14})$" ,message ="统一社会信用代码不匹配")
    private String tendereeCode;

    @ApiModelProperty(value = "项目名称",required = true,example="合肥地铁5号线建设工程")
    private String projectName;

    @ApiModelProperty(value = "项目编号",required = true,example="DEX-51254")
    private String projectCode;

    @ApiModelProperty(value = "担保金额",required = true,example="800000")
    private BigDecimal guaranteeAmount;

    @ApiModelProperty(value = "需支付金额",required = true,example="2800")
    private BigDecimal paymentAmount;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseCode() {
        return enterpriseCode;
    }

    public void setEnterpriseCode(String enterpriseCode) {
        this.enterpriseCode = enterpriseCode;
    }

    public String getTendereeName() {
        return tendereeName;
    }

    public void setTendereeName(String tendereeName) {
        this.tendereeName = tendereeName;
    }

    public String getTendereeCode() {
        return tendereeCode;
    }

    public void setTendereeCode(String tendereeCode) {
        this.tendereeCode = tendereeCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public BigDecimal getGuaranteeAmount() {
        return guaranteeAmount;
    }

    public void setGuaranteeAmount(BigDecimal guaranteeAmount) {
        this.guaranteeAmount = guaranteeAmount;
    }

    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }
}
